/*

	Projet Lumina.
	
	Feuille de style.
	
	COHEN Jonathan
	2014
	
*/




/* -------------------------------
	En-tête
*/
header {
  margin: 0;
  padding: 10px;
  padding-left: 20%;
  padding-right: 20%;
  box-shadow: 0 5px 5px grey;
  /* Anciens navigateurs */
  background: black url("gradient-bg.png") repeat-x top;
  -o-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  /* Navigateurs récents */
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,1)), to(rgba(30,30,30,1)));
  background: -webkit-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
  background: -moz-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
  background: -o-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
  background: linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
}

header h1 {
  font-size: 22px;
  color: white;
  margin: 0;
  padding: 0;
  margin-right: 5%;
  display: inline-block;
}

input[name="search"] {
  border: none;
  border-radius: 5px;
  padding: 8px;
  width: 40%;
}

.header_menu {
	margin-left: 4%;
}

.header_menu img {
	width: 25px;
	vertical-align: middle;
}

.header_menu img:hover {
	cursor: pointer;
}




/* -------------------------------
	Menu de naviguation
*/

nav {
  margin: 0;
  padding: 0;
  padding-left: 20%;
  padding-right: 20%;
  box-shadow: 0 5px 5px rgb(200,200,200);
  /* Anciens navigateurs */
	background: white;
	-o-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	/* Navigateurs récents */
	background: -webkit-gradient(
		linear,
		left top, left bottom,
		from(rgba(240,240,240,1)),
		to(rgba(220,220,220,1))
	);
	background: -webkit-linear-gradient(
		top,
		rgba(240,240,240,1),
		rgba(220,220,220,1)
	);
	background: -moz-linear-gradient(
		top,
		rgba(240,240,240,1),
		rgba(220,220,220,1)
	);
	background: -o-linear-gradient(
		top,
		rgba(240,240,240,1),
		rgba(220,220,220,1)
	);
	background: linear-gradient(
		top,
		rgba(240,240,240,1),
		rgba(220,220,220,1)
	);
}

nav a {
  font-size: 13px;
  color: rgb(100,100,100);
  margin: 0;
  padding: 10px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid transparent;
}

nav a:hover {
  box-shadow: 0 3px 5px rgba(28,167,99,.5);
}

nav a:active {
  box-shadow: inset 0 0 10px rgba(255,255,255,.5);
}



/* -------------------------------
	Corps du site
*/

body{
    overflow-x: hidden;
}

#main {
  width:60%;
  margin: auto;
  border-left: 1px solid rgb(200,200,200);
  border-right: 1px solid rgb(200,200,200);
  border-bottom: 1px solid rgb(200,200,200);
  background: white;
  box-shadow: 0 5px 5px rgb(200,200,200) inset;
  padding: 2%;
}

#presentation h2 {
  font-family: Tahoma, Sans-serif;
  margin: 0;
  margin-bottom: 1%;
  padding: 1%;
  font-size: 26px;
  border-bottom: 1px solid rgb(230,230,230);
}

#presentation {
  padding: 1%;
  border: 1px solid rgb(200,200,200);
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(100,100,100,.2);
  background: -moz-linear-gradient(top, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); /* FF3.6+ */;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,250,0)), color-stop(100%,rgba(250,250,250,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(250,250,250,0) 0%, rgba(245,245,245,1) 100%); /* W3C */
}

.div_box {
  margin-top: 2%;
  padding: 0;
  border: 1px solid rgb(230,230,230);
  box-shadow: 0 4px 5px rgba(100,100,100,.1);
  background: rgb(248,248,248);
}
.div_box h2 {
  margin: 0;
  padding: 1%;
  font-size: 15px;
  color: rgb(120,120,120);
  font-weight: normal;
  border-bottom: 1px solid rgb(230,230,230);
}

.div_box:hover {
  border: 1px solid rgb(200,200,200);
  box-shadow: 0 4px 5px rgba(100,100,100,.2);
}

.div_box:hover h2 {
  color: rgb(10,10,10);
  background: rgb(245,245,245);
}

.dead_user_box {
  position: relative;
  display: inline-block;
  max-width: 30%;
  height: 15%;
  border: 1px solid rgb(230,230,230);
  box-shadow: 0 0 5px rgba(100,100,100,.4);
  margin: 2%;
  margin-right: 0;
  overflow: hidden;
  z-index: 1;
  background: white;
  color: rgb(50,50,50);
  text-decoration: none;
  font-weight: bold;
}

.img_z_index {
  position: relative;
  z-index: 2;
}

.dead_user_box .img_z_index img {
  float: left;
  width: 50%;
  margin-right: 5px;
}

.dead_user_box .mask {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 50;
}

.dead_user_box .mask p {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: transparent;
}

.dead_user_icon {
  opacity: 0;
}

.dead_user_box:hover {
  box-shadow: 0 0 5px rgba(100,100,100,.8);
  border: 1px solid rgb(30,30,30);
}

.dead_user_box .mask:hover p {
  color: white;
}

.dead_user_box .mask:hover {
  background: rgba(20,20,20,.8);
}

.dead_user_box .mask:hover .dead_user_icon {
  opacity: 1;
}

.dead_user_box .mask:hover {
  background: rgba(20,20,20,.8);
}









/* -------------------------------
	Page profil
*/
#top_profile{
    position: absolute;
    width: 100%;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 0 5px rgb(100,100,100) inset;
}

.background_photo{
    position: absolute;
    z-index: -1;
    width: 100%;
}

#information_profile {
	padding: 2%;
    position: absolute;
	left: 20%; right: 20%; 
}

#profil_photo {
    width: 30%;
    z-index: 2;
	border: 10px solid rgba(0,0,0,.5);
	border-radius: 5px;
}

#citation_profile {
	float: right;
	width: 60%;
	text-align: justify;
    text-shadow: 0px 0px 3px black;
    color: white;
}

#basic_profile {
	float: left;
	width: 70%;
}

#name_profile {
	color: white;
	padding: 0; margin: 0;
	margin-top: 2%;
	font-size: 4vw;
    text-shadow: 0px 0px 80px black;
}

#dates_profile {
	color: white;
	padding: 0; margin: 0;
	font-size: 200%;
    text-shadow: 0px 0px 40px black;
	font-weight: normal;
}

#age_profile {
	color: white;
	padding: 0; margin: 0;
	font-size: 300%;
    text-shadow: 0px 0px 60px black;
	font-weight: normal;
}

#rose_profile {
	float: right;
	margin-top: 2%;
	width: 24%;
	background: rgba(0,0,0,.5);
    z-index: 3;
    color: white;
	border-radius: 5px;
	padding: 3%;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 0 15px white;
}

#rose_profile span {
	font-size: 200%;
}

#rose_profile h4 {
	margin: 0; padding: 0
}

#rose_profile:hover {
	box-shadow: 0 0 20px white;
	background: rgba(0,0,0,.6);
}

#rose_profile:hover h4 {
	text-decoration: underline;
}








#description_profil{
    position: absolute;
    text-align: center;
    width: 66%;
    margin-left: 10%;
    margin-right: 10%;
    top:690px;
    border: 1px solid rgb(200,200,200);
    background: white;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 2%;
}

.description_text{
    text-align: justify;
    font-size: 20px;
}

#lifeline_profil{
    width: 100%;
}

#lifeline_profil ul{
    list-style: none;
    padding: 0;
    border-top: 1px solid grey;
}

#lifeline_profil ul li{
    height: 300px;
    border-bottom: 1px solid grey;
    border-right: 1px solid grey;
}

.arrow_body{
    float: left;
    background: grey;
    width: 40px;
    height: 100%;
}

.arrow_end{
    margin-left: -32px;
    width:0; height:0;
    border-top:50px solid grey;
    border-left:50px solid rgba(255,255,255,0);
    border-right:50px solid rgba(255,255,255,0);
    border-bottom:50px solid rgba(255,255,255,0);
}

.lifeline_date{
    padding-top: 150px;
    width: 150px;
    height: 150px;
    margin: 0;
    float: left;
    border-right: 1px solid grey;

}

.lifeline_content{
    padding-top: 150px;
    float: left;
    width: 300px;
    height: 150px;
    margin: 0;
    border-right: 1px solid grey;
}

.lifeline_photo{
    margin-left: 20px;
    max-width: 300px;
    max-height: 300px;
    float: left;
}

.down_arrow{
    position: absolute;
    z-index: 2;
    width: 80px;
    left: 50%;
    margin-left: -40px;
    bottom: 30px;
}

.down_arrow:hover {
	cursor: pointer;
}

#nav_profil{
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 3;
}

#nav_profil a:hover {
	cursor: pointer;
}

.dead_user_box h3 {
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: normal;
    font-size: 250%;
}








/* -------------------------------
	Style de l'album photos
    sur la tombe du mort
*/

.mask{
    position:fixed;
    display: none;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background: black;
    -webkit-transition:background-color 1s;
    -moz-transition:background-color 1s;
    transition:background-color 1s;
    z-index: 0;
}

#album_profil{
    margin: 41px 0 0 0;
    padding: 10px;
    text-align: center;
}

#album_profil h2{
    position: relative;
    z-index: 0;
    color: black;
    margin-bottom: 10px;
}

#album_profil .gallery img {
    display: block;
    width: 300px;
    border: 1px solid transparent;
    -moz-transition: all 0.025s ease;
    -webkit-transition: all 0.025s ease;
    -o-transition: all 0.025s ease;
    transition: all 0.025s ease; 
}

#album_profil .gallery li {
    display: inline-block;
    padding: 6px;
    margin: 10px;
    cursor: pointer;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
    -moz-transition: all 0.025s ease;
    -webkit-transition: all 0.025s ease;
    -o-transition: all 0.025s ease;
    transition: all 0.025s ease; 
}

#album_profil .gallery li:hover {
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #62b5ee), color-stop(100%, #0690e5));
    background-image: -webkit-linear-gradient(#62b5ee, #0690e5);
    background-image: -moz-linear-gradient(#62b5ee, #0690e5);
    background-image: -o-linear-gradient(#62b5ee, #0690e5);
    background-image: -ms-linear-gradient(#62b5ee, #0690e5);
    background-image: linear-gradient(#62b5ee, #0690e5);
    -moz-box-shadow: 0 0 0 1px #0873b9, inset 0 1px 0 #8bc8f2, 0 1px 5px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 0 1px #0873b9, inset 0 1px 0 #8bc8f2, 0 1px 5px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 0 0 1px #0873b9, inset 0 1px 0 #8bc8f2, 0 1px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 1px #0873b9, inset 0 1px 0 #8bc8f2, 0 1px 5px rgba(0, 0, 0, 0.6); 
}

#album_profil .gallery li:hover img {
    border: 1px solid #0174bd; 
}

#glisse-close {
    display: none; 
}

#glisse-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    border-top: 1px solid #2d2f35;
    text-shadow: 0 -1px 0 #333333;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(87, 90, 98, 0.9)), color-stop(100%, rgba(62, 65, 72, 0.9)));
    background-image: -webkit-linear-gradient(rgba(87, 90, 98, 0.9), rgba(62, 65, 72, 0.9));
    background-image: -moz-linear-gradient(rgba(87, 90, 98, 0.9), rgba(62, 65, 72, 0.9));
    background-image: -o-linear-gradient(rgba(87, 90, 98, 0.9), rgba(62, 65, 72, 0.9));
    background-image: -ms-linear-gradient(rgba(87, 90, 98, 0.9), rgba(62, 65, 72, 0.9));
    background-image: linear-gradient(rgba(87, 90, 98, 0.9), rgba(62, 65, 72, 0.9));
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 3px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 3px rgba(0, 0, 0, 0.7);
    -o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 3px rgba(0, 0, 0, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 3px rgba(0, 0, 0, 0.7);
}

.glisse-next a, .glisse-prev a {
    position: absolute;
    display: block;
    left: 0;
    height: 39px;
    width: 39px;
    font-family: 'WebSymbolsRegular';
    line-height: 40px;
    color: white;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 0 black; 
}

.glisse-next a:active, .glisse-prev a:active {
    text-shadow: 0 0 30px white, 0 0 10px white; 
}

.glisse-prev a {
    border-right: 1px solid #2d2f35;
    -moz-box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.15);
    -webkit-box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.15);
    -o-box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.15);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.15); 
}

.glisse-next a {
    left: auto;
    right: 0;
    border-left: 1px solid #2d2f35;
    -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15);
    -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15);
    -o-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15);
}

.glisse-legend {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    right: 40px;
    text-align: center;
    line-height: 40px; 
}









/* -------------------------------
	Style du livre d'or
    sur la tombe du mort
*/

.quote_img {
    display: inline;
    width: 10px;
    margin-bottom: 8px;
}

.quote_text {
    font-size: 20px;
    display: inline;
    width: 30px;
}

#golden_book form {
	width: 50%;
	margin: auto;
}

#golden_book_background {
	padding: 10px;
	background: url('../data/GUI/Sky-GoldenBook2.jpg');
	border-radius: 5px;
	box-shadow: 0 0 5px black;
}

#golden_book textarea {
	margin: auto;
	display: block;
	padding: 1%;
	border-radius: 5px;
	box-shadow: 0 0 5px black;
	border: 1px solid rgb(100,100,100);
	background: rgba(255,255,255,.3);
}

#golden_book textarea:hover, #golden_book input[type=text]:hover {
	background: rgba(255,255,255,.5);
}

#golden_book textarea:focus, #golden_book input[type=text]:focus {
	background: rgba(255,255,255,.7);
}

#golden_book input[type=text] {
	padding: 1%;
	background: rgba(255,255,255,.3);
	border-radius: 5px;
	box-shadow: 0 0 5px black;
	border: 1px solid rgb(100,100,100);
	
}

#golden_book form input[type=submit] {
	margin: 3%;
	cursor: pointer;
}

.ui-datepicker-trigger{
    margin-left: 5px;
    width: 20px;
}

#pictur_explain{
    text-align: left;
}

.main form{
    text-align: left;
}

.main form h3{
    text-align: center;
}

#cropper_body{
    display: none;
    position: absolute;
    top: 50%;
    left:50%;
    text-align: center;
    box-shadow: 0 5px 5px grey;
    /* Anciens navigateurs */
    background: black url("gradient-bg.png") repeat-x top;
    -o-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    /* Navigateurs récents */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,1)), to(rgba(30,30,30,1)));
    background: -webkit-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
    background: -moz-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
    background: -o-linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
    background: linear-gradient(top, rgba(50,50,50,1), rgba(30,30,30,1));
    width: 600px;
    height: 400px;
    margin-left: -300px;
    margin-top: -200px;
}

#cropper{
    width: 100%;
    height: 350px;
}